package com.asset.crm.client;

import java.util.List;
import java.util.Set;

import com.asset.crm.domain.Employee;
import com.asset.crm.shared.ContactDTO;
import com.asset.crm.shared.EmployeeDTO;
import com.asset.crm.shared.InvoiceDTO;
import com.asset.crm.shared.SkuDTO;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("greet")
public interface GreetingService extends RemoteService {
  String greetServer(String name) throws IllegalArgumentException;
  String getContact();
  EmployeeDTO login(String email, String password, String companyName);
 Set<SkuDTO> searchSkus(String skuName);
 Set<ContactDTO> searchContact(String contact);
 
 void saveInvoice(InvoiceDTO invoiceDTO);
}
